//
//  SlideViewController.m
//  citzenWorkStation
//
//  Created by yang qing on 2018/2/9.
//  Copyright © 2018年 yang qing. All rights reserved.
//

#import "SlideViewController.h"
#import "MenuController.h"
#import "HomeViewController.h"

@interface SlideViewController ()

@end

@implementation SlideViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
//    初始化侧滑菜单
    self.leftViewController = [[MenuController alloc] init];
    
    HomeViewController *mainVc = [[HomeViewController alloc]init];
    UINavigationController *rootVc = [[UINavigationController alloc] initWithRootViewController:mainVc];
    self.rootViewController = rootVc;
    self.leftViewWidth = 250.0;
    self.leftViewBackgroundColor = [UIColor colorWithRed:0.5 green:0.65 blue:0.5 alpha:0.95];
    self.rootViewCoverColorForLeftView = [UIColor colorWithRed:0.0 green:1.0 blue:0.0 alpha:0.05];
   self.leftViewPresentationStyle = LGSideMenuPresentationStyleSlideAbove;
}
@end
